package com.itheima.service;

import com.itheima.domain.Student;

import java.util.ArrayList;

public interface ServiceStudent {
    //查询所有学生信息
    public abstract ArrayList<Student> findAll();
    //根据id查询学生信息
    public abstract Student findById(Integer sid);
    //新增学生信息
    public abstract int insert(Student stu);
    //修改学生信息
    public abstract int update(Student stu);
    //删除学生信息
    public abstract int delete(Integer sid);
}
